package render;

/**
 * only specular component evaluated yet 
 * 
 * @author Robbe
 *
 */
public class Material {
	 String name;
	 double[] diffuse;
	 double[] ambient;
	 double[] specular;
	 double[] emmissive;
	 double reflection;
	 double specularPower; // specular exponent
	 double translucence;

	 public Material(String name, double[] ambient, double[] diffuse, double[] specular, double[] emmissive, double reflection, double translucence, double shininess) {
		this.ambient = ambient;
		this.diffuse = diffuse;
		this.emmissive = emmissive;
		this.name = name;
		this.specularPower = shininess;
		this.specular = specular;
		this.reflection = reflection;
		this.translucence = translucence;
	}
	 
	 public double[] getDiffuse() {
		 return diffuse;
	 }
}
